//package com.punch.order.controller;
//
//
//import com.punch.common.model.Result;
//import com.punch.order.service.RefundService;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//
///**
// * <p>
// * 前端控制器
// * </p>
// *
// * @author wjj
// * @since 2020-11-23
// */
//@RestController
//public class RefundController {
//
//    @Resource
//    private RefundService refundService;
//
//
//    /**
//     * 退款
//     *
//     * @param orderId 订单id
//     * @param type    0-不同意 1-同意
//     * @return long
//     */
//    @PostMapping(value = "/refund/{orderId}/{type}", produces = "application/json;charset=utf-8")
//    public Result refund(@PathVariable Long orderId, @PathVariable Integer type) {
//        return Result.succeed(refundService.refund(orderId, type));
//    }
//}
